package cn.com.oceansoft.osc.ms.persistence;

import cn.com.oceansoft.osc.ms.domain.ZxxxConfig;
import cn.com.oceansoft.osc.ms.domain.ZxxxInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface IZxxxRepository {

    List<ZxxxInfo> selectZInfo();

    List<ZxxxInfo> selectZInfotemp(String guid);

    List<ZxxxInfo> selectZInfowst(@Param("wst")String wst);

    List<ZxxxInfo> selectZInfowsttemp(@Param("wst")String wst,@Param("temp1")String temp1);

    ZxxxInfo selectZInfoguid(@Param("guid")String guid);

    int insertZInfo(ZxxxInfo record);

    int updateZInfo(ZxxxInfo record);

    int deleteZInfo(@Param("guid") String guid);

    ZxxxConfig selectZConfig(@Param("type") String type,@Param("infoguid") String infoguid);

    int insertZConfig(ZxxxConfig record);

    int updateZConfig(ZxxxConfig record);

    int deleteZConfig(@Param("guid") String guid);

    int deleteZConfiginfo(@Param("guid") String guid);
}
